<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test_Books</title>
</head>
<body>
{% for book in books %}
<h1>{{ book.b_name }}</h1>
{% endfor %}

</body>
</html>